export const NAVBAR = [
    {
        name: '问答',
        path: '/'
    },
    {
        name: '创作',
        path: '/create'
    },
    {
        name: '技能',
        path: '/skill'
    },
    {
        name: '任务',
        path: '/recharge',
        login: true
    },
    // {
    //     name: '推广',
    //     path: '/promotion/distribution',
    //     login: true
    // },
    {
        name: '我的',
        path: '/my',
        login: true
    }
]

export const SIDEBAR = [
    {
        module: 'personal',
        hidden: true,
        children: [
            {
                name: '个人中心',
                path: '/user',
                children: [
                    {
                        name: '个人信息',
                        path: 'info'
                    },
                    {
                        name: '我的收藏',
                        path: 'collection'
                    }
                ]
            },

            {
                name: '账户设置',
                path: '/account',
                children: [
                    {
                        name: '账户安全',
                        path: 'security'
                    }
                ]
            }
        ]
    }
]
